package com.bootdo.system.mapper;

import com.bootdo.system.domain.TbJcLog;
import com.bootdo.system.domain.TbJcLogExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TbJcLogMapper {
    long countByExample(TbJcLogExample example);

    int deleteByExample(TbJcLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbJcLog record);

    int insertSelective(TbJcLog record);

    List<Map<String,Object>> selectProfitTop();

    List<TbJcLog> selectByExample(TbJcLogExample example);

    TbJcLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbJcLog record, @Param("example") TbJcLogExample example);

    int updateByExample(@Param("record") TbJcLog record, @Param("example") TbJcLogExample example);

    int updateByPrimaryKeySelective(TbJcLog record);

    int updateByPrimaryKey(TbJcLog record);

	List<Map<String, Object>> listJc(Map<String, Object> map);

	int countJc(Map<String, Object> map);
	
	List<Map<String, Object>> listJc2Dept(Map<String, Object> map);

	int countJc2Dept(Map<String, Object> map);

	List<Map<String, Object>> listJc2Dept2(Map<String, Object> params);

	int countJc2Dept2(Map<String, Object> params);

	List<Map<String, Object>> listJc2(Map<String, Object> params);

	int countJc2(Map<String, Object> params);

	List<Map<String, Object>> listJc2Log(@Param("userId") Integer userId);
}